// @ts-nocheck
import router from '@system.router';
export default {
    data: {
        title: 'World',
        messageData:[{"imgSrc":"/common/images/head1.png","name":"刘备","data":"12","time":"23:00"},
                     {"imgSrc":"/common/images/head2.png","name":"张飞","data":"12","time":"23:00"},
                     {"imgSrc":"/common/images/head3.png","name":"关云长","data":"12","time":"23:00"},
                     {"imgSrc":"/common/images/head4.png","name":"赵云","data":"12","time":"23:00"},
                     {"imgSrc":"/common/images/head5.png","name":"马孟起","data":"12","time":"23:00"},
                     {"imgSrc":"/common/images/head6.png","name":"黄忠","data":"12","time":"23:00"},
                     {"imgSrc":"/common/images/head7.png","name":"曹孟德","data":"12","time":"23:00"},
                     {"imgSrc":"/common/images/head8.png","name":"典韦","data":"12","time":"23:00"}
        ],
        itemIndex:0
    },
    intoInfo(name,imgSrc){
        router.push({
            uri:"pages/chat/chat",
            params:{
                username:name,
                imgSrc1:imgSrc
            }
        });
    },
}
